<?php

/**
 * image actions.
 *
 * @package    blogallery
 * @subpackage image
 * @author     Your name here
 * @version    SVN: $Id: actions.class.php 2692 2006-11-15 21:03:55Z fabien $
 */
class imageActions extends sfActions
{
  /**
   * Executes index action
   *
   */
  public function executeCreate()
  {
    $this->image = new Image();
    $this->number = (integer)$this->getRequestParameter('number');
    $this->languages = LanguagePeer::doSelect(new Criteria());
  }
  
  public function executeCancel()
  {
    return sfView::NONE;
  }
}
